package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class SellPurchaseRequest {
    @ApiModelProperty("求购单Id")
    @NotNull(message = "求购单Id不能为空")
    private Long  wantBuyOrderId;

    @ApiModelProperty("出售数量")
    @NotNull(message = "请输入出售数量")
    private Integer wantSellCount;

    @ApiModelProperty("单价")
    @NotNull(message = "请输入求购单价")
    private BigDecimal unitPrice;
}
